package com.cizzy.user.feign;

import com.cizzy.user.common.Result;
import com.cizzy.user.entity.dto.VideoDTO;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 51755
 */
@Component
public class VideoFeignFallback implements VideoFeign {
    @Override
    public Result<List<VideoDTO>> getVideoListByUserId(Long id) {
        return Result.error("服务不可用");
    }
}
